package com.itheima.movement.mapper;

import com.itheima.entity.pojo.MovementComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @author :wujunjie
 * createTime :2022-12-23 14:31
 * description :
 */
@Mapper
public interface MovementCommentMapper {
    List<MovementComment> selectByMovementIds(@Param("movementIds") List<String> movementIds);

    Boolean insertComment(@Param("comment") MovementComment movementComment);

    Boolean updateIsDeletedById(@Param("comment") MovementComment movementComment);
}
